﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WINBASE
{
    public static class ApplicationObject
    {
        public static void InitializeObject()
        {
            frmMain1 = new frmFmmf();
            frmModuleList1 = new frmFmmn();
            frmFmcs1 = new frmFmcf();
        }

        private static frmFmul frmLogin1 = new frmFmul();
        public static frmFmul FrmLogin
        {
            get { return ApplicationObject.frmLogin1; }
            set { ApplicationObject.frmLogin1 = value; }
        }

        private static frmFmmf frmMain1;
        public static frmFmmf FrmMain
        {
            get { return ApplicationObject.frmMain1; }
            set { ApplicationObject.frmMain1 = value; }
        }

        private static frmFmmn frmModuleList1;
        public static frmFmmn FrmModuleList
        {
            get { return ApplicationObject.frmModuleList1; }
            set { ApplicationObject.frmModuleList1 = value; }
        }

        private static frmFmcf frmFmcs1;
        public static frmFmcf FrmFmcs
        {
            get { return ApplicationObject.frmFmcs1; }
            set { ApplicationObject.frmFmcs1 = value; }
        }

        private static WLCForm _ActiveForm;
        public static WLCForm ActiveForm
        {
            get { return ApplicationObject._ActiveForm; }
            set { ApplicationObject._ActiveForm = value; }
        }

        private static List<WLCMainForm> forms;
        public static List<WLCMainForm> Forms
        {
            get { return forms; }
            set { forms = value; }
        }
    }
}